package bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author : liuchangling
 * @Descrition :
 * @Date： Created in 1:39 下午 2021/5/27
 */
public class User implements Serializable {

    private static final long serialVersionUID = 4284572555216108008L;
    //学号
    private int sno;
    //姓名
    private String name;
    //性别
    private String sex;
    //出生日期
    private String birthday;
    //邮箱
    private String mail;
    //备注
    private String remark;
    //班级编号
    private int classNo;

    @Override
    public String toString() {
        return "User{" +
                "sno=" + sno +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", mail='" + mail + '\'' +
                ", remark='" + remark + '\'' +
                ", classNo=" + classNo +
                '}';
    }

    public int getClassNo() {
        return classNo;
    }

    public void setClassNo(int classNo) {
        this.classNo = classNo;
    }

    public User() {
    }


    public User(int sno, String name, String sex, String birthday, String mail, String remark) {
        this.sno = sno;
        this.name = name;
        this.sex = sex;
        this.birthday = birthday;
        this.mail = mail;
        this.remark = remark;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getSno() {
        return sno;
    }

    public void setSno(int sno) {
        this.sno = sno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}
